package com.lingnan.feign;

import com.lingnan.entity.dto.CompanyVerificationRequest;
import com.lingnan.entity.vo.Result;
import jakarta.validation.Valid;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name="notification-service",path = "/notification")
public interface NotificationFeignClient {
    /**
     * 发送企业认证结果通知
     */
    @PostMapping("/company-verification")
    Result<Void> sendCompanyVerificationResult(@RequestBody @Valid CompanyVerificationRequest request);
}
